Immanuel Kant was acutely aware of living in an age when philosophy would need to supplant the role once played by religion. This helped him to arrive at his most famous concept: the ‘categorical imperative.’