What does an ecocardiogram detect?

Can you answer this question?