1. The main or most important purpose or operation that something is designed to do
The primary function of a hammer is to drive nails.
A função primária de um martelo é pregar pregos.
2. In mathematics and computing, the principal mathematical relationship or operation
The primary function of this software is data processing.
A função primária deste software é o processamento de dados.