The metric dimension of a connected graph G is the smallest number of nodes (resolving set) required to identify all other nodes based on shortest path distances uniquely. The notion of resolving set is vital in robotic navigation and to create various plan of action for the mastermind game. If certain vertices of a set S ⊂ V(G) resolve each pair of nodes u and v of G, then that set is a resolving set. A metric basis represents the lowest number of nodes in the set S. In this study, we describe the distance matrix and metric dimension of sunflower graphs and flower snarks.