The main role of a social worker is to support individuals and communities in overcoming challenges. This includes offering counseling, connecting people to resources, advocating for social justice, and developing programs that address issues like poverty, mental health, and family welfare.