Infosys Interview Question

Explain forward and backward chaining.