You are misinterpreting languages ww and language of DFA that is L1:
[Question]:
L ={ ww| w = w} is a Regular Language(RL). Because we can get the DFA like below is possible.
DFA: L1 ={ w1w2| |w1| = |w2|, where w1 , w2 ∈ {a, b}* }
--►((even))------a,b---------►(odd)
▲ |
|--------a,b--------------|
[DOUBT]
What is L ={ ww | where w ∈ {a, b}* } is ?
L is even length string consist of a and b that is has some prefix sub string equal to suffix sub string. some example of L are { aa, bb, abab, aaaa, bbbb, abaaba, abbabb, .....}
Whats language of DFA or L1 ={ w1w2| |w1| = |w2|, where w1 , w2 ∈ {a, b}* } ?
All even length strings consist of a and b say L1 for example {ab, ba, aabb, baab, ab, aa, bb, ababa, baba, abbba, ...}
Note: all even length strings consist of a and b are not in L for example {ab, ba, aabb, baab, ab} but this string in DFA's language = L1.
so, L(DFA)=L1 != L
[DOUBT-1]
Relation between L and L(DFA)=L1 ?
As I wrote in note, L ⊆ L(DFA) so every string that belongs to L also element of language of DFA and accepted you DFA. (this is you confusion)
Also, language L ={ ww| |w| = |w| } is not Regular Language.And we can't draw DFA for this language. BOTH LANGUAGES ARE NOT SAME! (L != L1)
L is much restricted then L(DFA)
L= { WW|W } is not regular can be proof using pumping lemma
L also not even context free language, but context sensitive language