QuinStreet Interview Question

What is the given when then method in cucumber with full explanation.