Gemini IV was the second of 10 manned Gemini missions, which perfected the techniques of spacecraft rendezvous and docking and demonstrated that astronauts could withstand prolonged weightlessness for the planned Apollo missions to the Moon.