Anne wants to keep a diary as she doesn't have friends.She needs some channel through which she can get rid off all the burden and pain she is suffering from. Hence, she wants to keep a diary. Anne Frank is searching for a friend in the form of her diary.