A safe is a very strong metal box with a locked door.
People use safes to store valuables like jewellery and money, or anything else they do not want other people to steal.
Something is unsafe if it has a high risk of danger. The man in the picture has chosen an unsafe way to reach the roof he is working on. Unsafe is the opposite of safe.