Ovulation tests VS pregnancy test

Can ovulation tests be used to detect early pregnancy or just pregnancy in general?