The inputs are multiplied by their respective weights and then summed.