Let $X$ be a compact Riemann Surface with genus $g$ and let $\omega_1,\dots,\omega_g$ be a basis of $\Omega(X)$, the space of holomorphic $1$-forms on $X$. As a smooth $2$ manifold we can think of $X$ as $\Pi_{i=1}^{g}a_i b_i a_i^{-1}b_i^{-1}.$ Then $a_1,\dots,a_g,b_1\dots,b_g$ forms a canonical basis of $H_1(X,\mathbb{Z}).$ Then we define periods of $X$:
$P_i:=\big(\int_{a_i}\omega_1,\dots,\int_{a_i}\omega_g\big), P_{i+g}:= \big(\int_{b_i}\omega_1,\dots,\int_{b_i}\omega_g\big)$ for $i=1,\dots,g$
And we have deRham-Hodge Theorem: $H^1_{dR}(X,\mathbb{R})\cong\Omega(X)\oplus\bar{\Omega}(X)\cong\mathbb{C}^{2g}.$ Using this how do I see that $P_1,\dots,P_{2g}$ are linearly independent pver $\mathbb{R}$?
So, if not then $\exists \hspace{1 ex} c_1,\dots c_{2g}\in\mathbb{R}$ not all zero, such that $\sum_{i=1}^g c_i\int_{a_i} \omega_k+ \sum_{i=1}^g c_{i+g}\int_{b_i} \omega_k=0\hspace{1 ex}\forall k=1,\dots,g$. But $\because c_1,\dots,c_{2g}$ are real numbers and not necessarily integers how exactly do I apply the theorem to prove the result?
$\textbf{Edit:}$ We can use Poincare Duality and Abel's Theorem which says the following: Suppose $D$ is a divisor on a compact Riemann surface $X$ with deg $D=0.$ Then $D$ has a solution iff $\exists$ a $1$-chain $c\in C_1(X)$ with $\partial c=D$ such that $\int_c\omega=0$ for every $\omega\in\Omega(X).$