A morphism f:YXf:Y\to X of is flat at yYy\in Y if the induced homomorphism of local rings

OX,f(y)OY,y\mathcal O_{X,f(y)}\longrightarrow \mathcal O_{Y,y}

makes OY,y\mathcal O_{Y,y} a over OX,f(y)\mathcal O_{X,f(y)}. The morphism is flat if it is flat at every point of YY.

Affine-locally, a morphism SpecBSpecA\operatorname{Spec}B\to\operatorname{Spec}A is flat exactly when BB is a flat AA-module. Flatness is local on both source and target.

Every field extension K/FK/F is a vector space over FF, hence a flat FF-module. Therefore SpecKSpecF\operatorname{Spec}K\to\operatorname{Spec}F is flat.