RebelDot interview question

What does INNER JOIN do ?