Code may be used more than once.  Rather than writing it more than once you can store it somewhere and use it when needed.