Question about bbt

How exactly does BBT work? You raise a degree or so when you ovulate and it stays elevated at the beginning of pregnancy??? Or just ovulation