Role of bias term

can u please explain me the role of bias term in machine learning algorithm using simple example, not able to understand.