Spotify Interview Question

What's the the use of activation function?