Spacecraft attitude control is the process of controlling the orientation of a spacecraft (vehicle or satellite) with respect to an inertial frame of reference or another entity such as the celestial sphere, certain fields, and nearby objects, etc.
Controlling vehicle attitude requires actuators to apply the torques needed to orient the vehicle to a desired attitude, and algorithms to command the actuators based on the current attitude and specification of a desired attitude.
Before and during attitude control can be performed, spacecraft attitude determination must be performed, which requires sensors for absolute or relative measurement.
The broader integrated field that studies the combination of sensors, actuators and algorithms is called guidance, navigation and control, which also involves non-attitude concepts, such as position determination and navigation.