What is imperialism and how is it related to capitalism & liberalism?

What is imperialism and how is it related to capitalism & liberalism?