I know about the opening of voltage gated sodium channels and then how the membrane becomes depolarized when the rise of potential greater than threshold occurs.
But what happens initially after the stimulus that causes a change in potential and makes it reach up to the level of threshold? Like what that light, touch or chemical did?