An astronaut conducts experiments, performs maintenance tasks, and operates equipment aboard a spacecraft. They also carry out scientific research to advance our understanding of space.