Factory refers to a place where something is manufactured. On the other hand, a company involves work being done, including manufacturing and official/administrative activities. Industry, which comprises a group of factories and companies performing similar roles, is a broader concept.
A factory is responsible for manufacturing or producing goods. A company may or may not have a factory or plant within its premises. An industry, on the other hand, encompasses all the factories and companies within a particular sector. It serves as an association of these entities. :-P:-P:-P:-P