A modern Auxiliary Power Unit (APU) is designed to provide power for ground starting of an engine. It also supplies both in the air (subject of certification limitations) and on the ground:
air conditioning and thrust in the event of engine failure
air conditioning and electrical services
either air conditioning or electrical services, but never both at the same time
air conditioning and electrical services (on the ground) electrical and hydraulic back-up services (in the air)