There are two ways that humans get rocks from space: (1) Natural delivery of space rocks as meteorites (2) Space rocks directly brought back by space exploration missions known as returned samples.
Probably the most famous example of how humans acquired rocks from space is when the Apollo astronauts collected...