Context: A "beer engine" is a device for pumping beer, originally manually operated and typically used to dispense beer from a cask or container in a pub's basement or cellar.

Question: What is a "beer engine"?
Answer: a device for pumping beer

Question: What is the function of a "beer engine"?
Answer: to dispense beer from a cask or container in a pub's basement or cellar