A cookie is a small piece of information that is stored in the client browser. It is used to store user's data in a file permanently (or for the specified time). Cookie has its expiry date and time and gets removed automatically when it gets expired. Django provides in-built methods to set and fetch cookies.