function: the actions and activities assigned to or required or expected of a person or group
duty: work that you are obliged to perform for moral or legal reasons
four-stroke engine: an internal-combustion engine in which an explosive mixture is drawn into the cylinder on the first stroke and is compressed and ignited on the second stroke; work is done on the third stroke and the products of combustion are exhausted on the fourth stroke