The main research methods are observation, surveys, case studies, correlational studies and experiments. Only an experiment can show cause and effect, because the researcher changes one thing (the independent variable) and measures its effect on another (the dependent variable) while keeping everything else equal.
A correlation only shows that two things move together. Students who sleep more may score higher, but that alone does not prove sleep causes better scores — a third factor could explain both.