The West Coast rapper was known for his socially aware gangsta rap and renowned as one of the greatest rappers of all time.