What are the key factors that determine the economy of a country

Economic factors play a crucial role in shaping the overall development and growth of a country. Discuss the key factors that determine the economy of a country.