The Soviet space program lost the race to Luna against the United States, though they invested heavily in a program to beat them, including the N-1 rocket and Zond spacecraft. Not all of that investment was lost, however, as Zond was in the same family as the venerable Soyuz (which also led to Progress). After the failure to beat the United States to Luna, the Soviet Union established a history of successive space stations in Low Earth Orbit, ultimately leading to the large Mir space station.
During its time as a government space agency, it launched the first satellite (on the first intercontinental ballistic missle), launched the first man to space, launched, the first man to orbit, launched the first woman to orbit, carried out the first spacewalk, among other notable missions. Alongside the Soviet space program was a military space program that progressed in a different pattern than the United States Air Force space program - including manned space stations in addition to satellites.
The Soviet space program disbanded after the collapse and breakup of the Soviet Union, with its assets dispersed across the Russian Federation, Ukraine, and Kazakhstan. Each set of facilities, intellectual property, and centers of knowledge would take their own course after the breakup.