Why do astronauts wear spacesuits?

Spacesuits allow astronauts to survive and work when they go for a ‘walk’ in space. There is a supply of oxygen in spacesuits. They are designed to insulate astronauts from severe temperature changes experienced in space and to protect them against radiations from space. Spacesuits contain hollow spaces, which are filled with air when there is very less pressure on the body. This is important because the outer air pressure on the body is not present in space. In absence of these spaces blood may get collected in the lower half of the body. As a result, due to lack of blood supply to the brain one may become unconscious.