Source: The Empire Strikes Back
Han Solo never intended to join the Rebel Alliance, but circumstances threw him into the battle. His breath mask provides him with oxygen while on an asteroid, where he has landed the Millennium Falcon to hide from the Empire and make repairs to his ship.