I am watching an elementary video series on differential forms by Michael Penn. In this video, he describes the definition of $dx$ and $dy$ as some component functions for the coordinate system of a tangent space, where $dx: T_PC \rightarrow \mathbb R$ and $dy: T_PC \rightarrow \mathbb R$, which respectively give the first and second components of a vector $v$ in a tangent space $T_PC$ at a point $P$ on a curve $C$ in $\mathbb R^2$.
He goes on to show that if a curve $C$ is defined by $y = f(x)$, then we can show that the quotient of the two component functions is equivalent to the derivative of $y$ at some point $P$, i.e. $\frac{dy}{dx} = f'(a)$, where $(x, y)P = (a, b)$.
From my understanding (and from this video where he talks of whether or not the quantity $\frac{dy}{dx}$ can be called a fraction), this notion of the ratio of the two component functions is supposed to formalise the definition of Leibniz's notation of a derivative.
What I don't understand is what the connection is between $dy$ and $dx$ as component functions of the vectors in a tangent space and $dy$ and $dx$ as infinitesimal changes in $y$ and $x$. I understand that an "infinitesimal change" is probably not well-defined in standard analysis, but I'd still like to build some intuition and understanding behind why these two seemingly different definitions of $dy$ and $dx$ are actually connected.
Note: I understand that this question has been asked here, but I didn't really understand the answer. It seems to me that both definitions of $dy$ and $dx$ as component functions and as changes are defined, but the connection between them isn't really explored. Please correct me if I'm wrong in thinking this.