This paper compares the efficiency and accuracy of ResNet and DenseNet using a fruit image dataset comprising 50 different kinds of fruits. The experiments illustrate that ResNet-34 outperforms DenseNet-BC-121 in terms of training speed and convergence, achieving higher accuracy more quickly due to its residual learning architecture. The findings suggest that while ResNet is better suited for simple datasets, DenseNet's structure may lead to increased computational complexity.