Maria has two siblings, Ana and Luis. Ana is married to Carlos, and they have a daughter named Sofia. Luis is married to Elena, and they have a son named Miguel. Carlos has a sister named Teresa. What is Teresa's relationship to Miguel, and how is Sofia related to Elena? Make your response very short.
Teresa is the sister of Carlos, who is married to Ana. Ana is the sister of Luis, and Luis is Miguel's father. Therefore, Teresa is Miguel's aunt through marriage, specifically his father's sister-in-law. Sofia, on the other hand, is the daughter of Ana and Carlos. Since Ana is Luis's sister and Luis is Elena's husband, Sofia is Elena's niece through marriage. Elena is Sofia's aunt by marriage, being the wife of Sofia's maternal uncle.