Dystrophin is primarily found in skeletal muscle and cardiac muscle. It is situated on the cytoplasmic side of the muscle cell membrane, also known as the sarcolemma. Its primary function is to connect the internal cytoskeleton of muscle cells to the extracellular matrix, providing structural stability during muscle contraction and relaxation.