Can you elucidate the function of a low pass filter and its operational mechanism? Also, how is its cutoff frequency determined?

Free for the first 3 answer contributors

Interview question asked to Embedded Engineers interviewing at Lenovo, RS Components, D-Link and others: Can you elucidate the function of a low pass filter and its operational mechanism? Also, how is its cutoff frequency determined?.