Sarcasm, though difficult to define but plays a crucial role in one's life. Sarcasm as a jest is a matter of fun but when taken seriously can cause unwelcoming results. Sometimes, sarcasm is defined as "a sharp, bitter, or cutting expression or remark; a bitter jibe or taunt". These days' researchers are working towards the detection of sarcasm for the purpose of sentiment analysis. Emotion and sentiment-bearing information are carried by subjective sarcastic sentences. The objective of the paper is to highlight the different types of sarcastic tweets and their usage in sentiment analysis. The authors mainly emphasize several approaches which include sentiment analysis, machine and deep learning classifications. The paper focuses on the use of machine learning and deep learning for identifying sarcastic tweets. Numerous feature extraction techniques have been studied and machine and deep learning classifications have been taken into account. The comparative table shows the results obtained using the various evaluation metrics such as accuracy, precision, recall, and f-score.