Psychology studies behaviour (what we do, which can be observed) and mental processes (thinking, feeling, remembering, which have to be inferred). What makes it a science is not the topic but the method: claims are tested against evidence that others can check.
This separates psychology from common sense. Common sense says "opposites attract" and also "birds of a feather flock together." Research asks which one is true, for whom, and when — and the answer is usually that similarity predicts attraction better.
It also separates psychology from psychiatry: psychiatrists are medical doctors who can prescribe medicine, while psychologists study and treat behaviour through assessment and therapy.