The mountains separate the basin of Los Angeles in the south from the Mojave Desert in the north .
The mountain range forms a barrier between the Greater Los Angeles Area and the Mojave Desert .