Fundamental economic problem firms face

What is a firm and what is the fundamental economic problem that all firms face?