Default [Q] differents between immersive mode and Expendet Desktop Android 4.4

hello i saw in different custom roms that in some of theme there was expendet desktop mode an in other there was immersive mode. where are the differents between these two funtions?