At the end of West Side Story, two gang members, Tony and Bernardo, are killed in a fight. This tragedy brings the two gangs, the Jets and the Sharks, together in grief and forces them to confront the consequences of their hatred and violence. The gangs reconcile and agree to end their feud, realizing that their fighting has only brought pain and loss. The ending of the musical serves as a powerful reminder of the destructive nature of prejudice and intolerance and the importance of understanding and compassion.