OTIS interview question

When you call malloc how does the OS allocate memory for your specific application?