The way i understand it, by calculating and validating new blocks miners keep the bitcoin network safe. As a 'reward' for this they recieve bitcoins. 

However, since the number of bitcoins is limited, will there be a point where mining is no longer useful, because there is nothing left to mine? And if so, who will keep the chain safe?