Programming languages allow computers to be programmed to carry out specific tasks. This is done by writing a set of instructions using a programming language which the computer can understand and follow.