What does an jdm. Anteil nehmen mean?

an jdm. Anteil nehmen - German to English

to feel for sb.